<div th:fragment="frag(sp)">
	<input type="text" th:name="${sp.id}" th:placeholder="|请输入${sp.name}|" th:attrappend="style=${';padding-left:5px;width:' + sp.width + 'px'}">
</div>